package com.itheima.service;

import com.itheima.entity.Dept;

import java.io.IOException;
import java.util.List;

public interface DeptService {
    public List<Dept> queryDeptList() throws IOException;

    public void deleteById(Integer id);

    void add(Dept dept);

    Dept findById(Integer id);

    void update(Dept dept);
}
